Greedy flipping of pancakes and burnt pancakes

نویسندگان
چکیده

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Greedy flipping of pancakes and burnt pancakes

We prove that a stack of n pancakes is rearranged in all n! ways by repeatedly applying the following rule: Flip the maximum number of pancakes that gives a new stack. This complements the previously known pancake flipping Gray code (S. Zaks, A New Algorithm for Generation of Permutations BIT 24 (1984), 196–204) which we also describe as a greedy algorithm: Flip the minimum number of pancakes t...

متن کامل

Successor rules for flipping pancakes and burnt pancakes

A stack of n pancakes can be rearranged in all n! ways by a sequence of n!−1 flips, and a stack of n ‘burnt’ pancakes can be rearranged in all 2nn! ways by a sequence of 2nn!−1 flips. In both cases, a computer program can efficiently generate suitable solutions. We approach these tasks instead from a human perspective. How can we determine the next flip directly from the current stack? How can ...

متن کامل

on the Problem of Sorting Burnt Pancakes

The “pancake problem” is a well-known open combinatorial problem that recently has been shown to have applications to parallel processing. Given a stack of n pancakes in arbitrary order, all of different sizes, the goal is to sort them into the size-ordered configuration having the largest pancake on the bottom and the smallest on top. The allowed sorting operation is a “spatula flip”, in which...

متن کامل

Polynomial-time sortable stacks of burnt pancakes

Pancake flipping, a famous open problem in computer science, can be formalised as the problem of sorting a permutation of positive integers using as few prefix reversals as possible. In that context, a prefix reversal of length k reverses the order of the first k elements of the permutation. The burnt variant of pancake flipping involves permutations of signed integers, and reversals in that ca...

متن کامل

Lyman Alpha Absorption Lines from Mini Pancakes

Recent numerical simulations show that many Lyα absorption lines of column densities NHI < ∼ 10 15 cm are produced in transient, mini pancakes. Such pancakes are modeled here, approximating the initial perturbation leading to the formation of the pancake as a single sinusoidal wave. The density and temperature profiles of the gas in the pancake are determined in the case where cooling and heati...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Discrete Applied Mathematics

سال: 2016

ISSN: 0166-218X

DOI: 10.1016/j.dam.2016.02.005